Use pushdef and popdef, instead of saving the macro's value in a
authorJim Blandy <jimb@redhat.com>
Mon, 10 May 1993 23:58:36 +0000 (23:58 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 10 May 1993 23:58:36 +0000 (23:58 +0000)
variable.

configure1.in

index a75861e593a42bd3dc09a122ac801d0efb462ac7..4ea389dd67589516dd6023e4fc845f3340790213 100755 (executable)
@@ -998,11 +998,10 @@ dnl   so (as far as I can tell) there's no way to compute the value
 dnl   the CPP macro should receive.  We cripple that quoting for a
 dnl   bit, invoke AC_DEFINE, and then uncripple it.
 
-define([hold_ac_define_sedquote], defn([AC_DEFINE_SEDQUOTE]))
-define([AC_DEFINE_SEDQUOTE],[$1])
+pushdef([AC_DEFINE_SEDQUOTE],[$1])
 AC_DEFINE(config_machfile,  "\"${machfile}\"")
 AC_DEFINE(config_opsysfile, "\"${opsysfile}\"")
-define([AC_DEFINE_SEDQUOTE],hold_ac_define_sedquote)
+popdef([AC_DEFINE_SEDQUOTE])
 
 AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})
 AC_DEFINE(C_SWITCH_X_SITE,  ${C_SWITCH_X_SITE})